package com.qianji.controller;

import com.qianji.pojo.AdPlaceDto;
import com.qianji.pojo.PVUVDto;
import com.qianji.service.ActiveService;
import com.qianji.service.AdPlaceService;
import com.qianji.service.PVUVService;
import com.qianji.service.ThirdPartyService;
import com.qianji.service.impl.ActiveServiceImpl;
import com.qianji.service.impl.AdPlaceServiceImpl;
import com.qianji.service.impl.PVUVServiceImpl;
import com.qianji.service.impl.ThirdPartyServiceImpl;

import java.util.Date;

/**
 * @author: Xiao Liang Zai
 * @Date: 2021/7/8 15:20
 * @description:
 */
public class Test {

    public static void main(String[] args) {
       PVUVService pvuvService = new PVUVServiceImpl();
        PVUVDto pvuvDto = new PVUVDto();
        pvuvDto.setImei(null);
        pvuvDto.setActiveId(24L);
        pvuvDto.setUpdateTime(new Date());
        pvuvDto.setLinkId(163L);
        pvuvDto.setLinkUrl("www.baidu.com");
        pvuvDto.setPanId(251L);
        pvuvDto.setCreateTime(new Date());
       pvuvService.addUV(pvuvDto);

//        AdPlaceService adPlaceService = new AdPlaceServiceImpl();
//        AdPlaceDto place = adPlaceService.findPlace(251);
        ThirdPartyService thirdPartyService = new ThirdPartyServiceImpl();
//        AdPlaceDto place = thirdPartyService.findPlace(251L);



//        System.out.println(place);

//        ActiveService activeService = new ActiveServiceImpl();
//        activeService.selectById(24L);

    }



}
